#!/usr/bin/env python
# -*- coding: utf-8 -*-
#  urls.py
#  description

#  Created by zhouzongli633 on 2020/5/20 4:21 下午.
#  Copyright ©Intellectus All rights reserved.


from django.urls import path
from Baby.views import babies, parents, families, appointments, vaccinations, medications, contact, note, allergies

urlpatterns = [
    # ADMIN
    path('parent', parents.ParentView.as_view()),
    path('family', families.FamilyView.as_view()),
    path('baby', babies.BabyView.as_view()),
    path('discharge', babies.DischargeView.as_view()),
    path('baby/notvalid', babies.NotValidatedView.as_view()),

    # APP
    path('baby/appointments', appointments.AppointmentsView.as_view()),
    path('baby/vaccinations', vaccinations.VaccinationsView.as_view()),
    path('baby/medications', medications.MedicationsView.as_view()),
    path('baby/contact', contact.ContactView.as_view()),
    path('baby/note', note.NoteView.as_view()),
    path('baby/allergies', allergies.AllergiesView.as_view()),

]




